<?php

	class ORM_Memcache {
		static private $_instance = NULL;
		
		private function __construct()
		{
			
		}
		
		private function __clone()
		{
			
		}
		
		static public function getInstance()
		{
			if(!self::$_instance instanceof Memcache){
				self::$_instance = new Memcache();
				self::$_instance->connect(MY_MEMCACHE_HOST, MY_MEMCACHE_PORT);
			}
			return self::$_instance;
		} 
	}

?>